// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
//vuex
import Vuex from 'vuex'
Vue.use(Vuex)
//store
import store from './vuex'


//axios
import axios from 'axios'

Vue.prototype.$http=axios
axios.defaults.baseURL='http://localhost:7001'
//element
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

Vue.config.productionTip = false

Vue.use(ElementUI);


// vue.prototype.$axios= axios


/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
